﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PFB2Integers
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Algebra");

            Console.Write("2 + 2 = ");
            Console.WriteLine(2 + 2);

            Console.Write("2 - 2 = ");
            Console.WriteLine(2 - 2);

            Console.Write("2 * 2 = ");
            Console.WriteLine(2 * 2);

            Console.Write("2 / 2 = ");
            Console.WriteLine(2 / 2);

            int a = 5;
            int b = 9;
            int sum = a + b;

            Console.WriteLine(a + b);
            Console.WriteLine(sum);

            int x = 3;
            int y = 2;
            int z;

            Console.WriteLine("-----------");

            Console.WriteLine("x = " + x);
            Console.WriteLine("y = " + y);

            z = x;
            x = y;
            y = z;

            Console.WriteLine("-----------");

            Console.WriteLine("x = " + x);
            Console.WriteLine("y = " + y);

            Console.WriteLine("-----------");

            int c = 5;
            c = c + 1;

            Console.ReadKey();
        }
    }
}
